//
//  NewRegisterViewController.h
//  visi_register
//
//  Created by Tai Truong on 11/15/12.
//  Copyright (c) 2012 Tai Truong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "VKWelcomeTextField.h"
#import "APIRequester.h"
#import "AutomationDataManager.h"

@interface RegisterViewController : UIViewController <UITextFieldDelegate, UIGestureRecognizerDelegate, AutomationDataManagerProtocol> {
    APIRequester                            *_APIRequester;
}
// properties
@property (strong, nonatomic) IBOutlet UITextField *textFieldUsername;
@property (strong, nonatomic) IBOutlet UITextField *textFieldPassword;
@property (strong, nonatomic) IBOutlet UITextField *textFieldEmail;
@property (strong, nonatomic) IBOutlet UITextField *textFieldFirstName;
@property (strong, nonatomic) IBOutlet UITextField *textFieldLastName;

@property (weak, nonatomic) IBOutlet UIButton *saveBtn;

// term view
@property (strong, nonatomic) IBOutlet UIView *termsView;
@property (weak, nonatomic) IBOutlet UIWebView *termConditionWebView;
@property (weak, nonatomic) IBOutlet UIControl *controlMainScreen;
@property (weak, nonatomic) IBOutlet UIScrollView *scrollViewMainView;

// actions
- (IBAction)termOfServiceTouchUpInside:(UIButton *)sender;
- (IBAction)saveTouchUpInside:(UIButton *)sender;


- (IBAction)backBtnTouchUpInside:(UIButton *)sender;
- (IBAction)termBtnTouchUpInside:(UIButton *)sender;
- (IBAction)hideKeyboard;

@end
